import request from '@/utils/request'

export function _getPatientInfo(id) {
  return request({
    url: '/api/patients/' + id,
    method: 'get'
  })
}

export function dailyPatients(date) {
  return request({
    url: '/api/patients/daily/' + date,
    method: 'get'
  })
}

export function getAllPatients() {
  return request({
    url: '/api/patients/all',
    method: 'get'
  })
}

export function sexRate(visitDate) {
  return request({
    url: '/api/patients/sexRate/' + visitDate,
    method: 'get'
  })
}